package com.ruoyi.law.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.law.domain.entity.LawTeamService;

import java.util.List;

/**
 * <p>
 * 团队人员和服务范围关系表 服务类
 * </p>
 *
 * @author code
 * @since 2022-12-29
 */
public interface ILawTeamServiceService extends IService<LawTeamService> {

    /**
     * 通过团队id删除
     *
     * @param teamId id
     * @return boolean
     */
    boolean removeByTeamId(Long teamId);

    /**
     * 通过团队id查询列表
     *
     * @param teamId teamId
     * @return {@link List}<{@link LawTeamService}>
     */
    List<LawTeamService> listByTeamId(Long teamId);
}
